package Ep06_BinaryTree;

/**
 * @author Jimmy Zhan WORKSTATION
 * @date 2023/4/17 9:46
 * 说明：手写一个简单的二叉树
 */

public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode(){};
    public TreeNode(int val){
        this.val = val;
    };
    public TreeNode(int val, TreeNode left, TreeNode right){
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
